package wechat.entity;

import java.io.Serializable;
import java.util.Date;

public class EventEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	private String toUserName;
	private String fromUserName;
	private String msgType;
	private String event;
	private String agentID;
	private String originInfo;
	private Date createTime;

	public EventEntity() {
		this.createTime = new Date();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getAgentID() {
		return agentID;
	}

	public void setAgentID(String agentID) {
		this.agentID = agentID;
	}

	public String getOriginInfo() {
		return originInfo;
	}

	public void setOriginInfo(String originInfo) {
		this.originInfo = originInfo;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "EventEntity [id=" + id + ", toUserName=" + toUserName + ", fromUserName=" + fromUserName + ", msgType="
				+ msgType + ", event=" + event + ", agentID=" + agentID + ", originInfo=" + originInfo + ", createTime="
				+ createTime + "]";
	}

	

}
